.component {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 1s ease-out;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
}

.placeholder {
  composes: image;
  transform: translateZ(0) scale(1);
  z-index: 0;
}

.before {
  opacity: 1;
}

.enter {
  opacity: 0;
}
